package org.jeecg.modules.gudingzichan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: gudingzichan
 * @Author: jeecg-boot
 * @Date:   2020-07-31
 * @Version: V1.0
 */
@Data
@TableName("gudingzichan")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="gudingzichan对象", description="gudingzichan")
public class Gudingzichan4Export implements Serializable {
    private static final long serialVersionUID = 1L;

    @Excel(name = "分类编码", width = 15)
    @TableField(exist = false)
    private String fenlbm;

    @Excel(name = "设备材料分类", width = 15)
    @TableField(exist = false)
    private String sehbclfl;

    @Excel(name = "设备器材名称", width = 15)
    private String zichanmingcheng;

    @Excel(name = "规格型号", width = 15)
    private String xinghao;

    @Excel(name = "管理单位", width = 15)
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    String guanlbm;

    @Excel(name = "使用单位", width = 15)
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    private String deptId;

    @Excel(name = "责任人", width = 15)
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    private String baoguanren;

    @Excel(name = "账面数量", width = 15)
    private String shuliang;

    @Excel(name = "计量单位", width = 15)
    private String danwei;

    @Excel(name = "单价（元）", width = 15)
    private String danjia;

    @Excel(name = "金额", width = 15)
    private String jine;

    @Dict(dicCode = "gudzc_tianjyy")
    @Excel(name = "取得方式", width = 15)
    private String yuanyin;

    @Excel(name = "取得日期", width = 15)
    String degnjrq;

    @Excel(name = "使用年限（月）", width = 15)
    private String nianxian;

    @Excel(name = "使用状况", width = 15)
    @Dict(dicCode = "zichanStatus")
    private String zichanStatus;

    @Excel(name = "质量等级", width = 15)
    @Dict(dicCode = "zhildj")
    String zhildj;

    @Excel(name = "盘点单位", width = 15)
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @TableField(exist = false)
    String panddw;

    @Excel(name = "备注", width = 15)
    String zhaiysm;
}
